.class final Lnbisdk/o$2;
.super Ljava/lang/Object;

# interfaces
.implements Lnbisdk/qs;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lnbisdk/o;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic pr:Lnbisdk/o;


# direct methods
.method constructor <init>(Lnbisdk/o;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(Lnbisdk/pc;Lnbisdk/dm;)V
    .locals 3

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p1}, Lnbisdk/pc;->E()Lnbisdk/hh;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/hh;->getType()Ljava/lang/String;

    move-result-object v1

    const-string v2, "traffic"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0}, Lnbisdk/hh;->getType()Ljava/lang/String;

    move-result-object v0

    const-string v1, "route"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    invoke-virtual {p1}, Lnbisdk/pc;->jU()[B

    move-result-object v0

    if-eqz v0, :cond_2

    array-length v0, v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v1}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v1

    invoke-virtual {v0, p1, v1}, Lnbisdk/o;->a(Lnbisdk/pc;Lnbisdk/dm;)V

    goto :goto_0
.end method

.method public final g(Lnbisdk/jg;)V
    .locals 4

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->g(Lnbisdk/o;)Lnbisdk/cc;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->g(Lnbisdk/o;)Lnbisdk/cc;

    move-result-object v0

    new-instance v1, Lnbisdk/o$2$1;

    invoke-direct {v1, p0, p1}, Lnbisdk/o$2$1;-><init>(Lnbisdk/o$2;Lnbisdk/jg;)V

    const-wide/16 v2, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lnbisdk/lf;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    return-void
.end method

.method public final onRequestCancelled(Lcom/navbuilder/nb/b;)V
    .locals 2

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v1}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v1

    invoke-interface {v0, v1}, Lnbisdk/qs;->onRequestCancelled(Lcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final onRequestComplete(Lcom/navbuilder/nb/b;)V
    .locals 2

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v1}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v1

    invoke-interface {v0, v1}, Lnbisdk/qs;->onRequestComplete(Lcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V
    .locals 1

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/o;->a(Lcom/navbuilder/nb/NBException;)V

    :cond_0
    return-void
.end method

.method public final onRequestProgress(ILcom/navbuilder/nb/b;)V
    .locals 2

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v1}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v1

    invoke-interface {v0, p1, v1}, Lnbisdk/qs;->onRequestProgress(ILcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final onRequestStart(Lcom/navbuilder/nb/b;)V
    .locals 2

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->f(Lnbisdk/o;)Lnbisdk/qs;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v1}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v1

    invoke-interface {v0, v1}, Lnbisdk/qs;->onRequestStart(Lcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final onRequestTimedOut(Lcom/navbuilder/nb/b;)V
    .locals 3

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/o$2;->pr:Lnbisdk/o;

    invoke-static {v0}, Lnbisdk/o;->e(Lnbisdk/o;)Lnbisdk/o;

    move-result-object v0

    new-instance v1, Lcom/navbuilder/nb/NBException;

    const/16 v2, 0x7d2

    invoke-direct {v1, v2}, Lcom/navbuilder/nb/NBException;-><init>(I)V

    invoke-virtual {v0, v1}, Lnbisdk/o;->a(Lcom/navbuilder/nb/NBException;)V

    :cond_0
    return-void
.end method
